<!-- 空状态 -->
<template>
    <view class="empty-box">
        <img :src="empty" />
        <view class="empty-text">{{ props.title }}</view>
    </view>
</template>
    
<script setup>
import { reactive, getCurrentInstance, onMounted } from "vue"
import empty from '@/assets/image/icon68.png'

const props = defineProps({
    title:{
        type:String,
        default:'暂无数据'
    }
})


</script>
    
<style lang="scss" scoped>
.empty-box{
    width: 100%;
    display: flex;
    justify-content: center;
    padding:80rpx 0 120rpx 0;
    flex-wrap: wrap;
    img{
        width: 300rpx;
        height: 300rpx;
        flex: none;
    }
    .empty-text{
        flex: none;
        width:100%;
        text-align: center;
    }
    .empty-text{
        color:#999
    }
}
</style>
    